import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/plugins/element-ui';
import '@/style/index.scss'
import i18n from "@/plugins/i18n";
import './permission.js'
import { http } from '@/api'
Vue.prototype.$http = http
Vue.config.productionTip = false
Vue.prototype.enumType = {
  STICKER: 'STICKER',
  PHOTO_BATCH: 'PHOTO_BATCH',
  CHAT: 'CHAT',
  MAIL: 'MAIL',
  PHOTO: 'PHOTO',
  VIDEO: 'VIDEO',
  AUDIO: 'AUDIO',
  MESSAGE: 'MESSAGE',
  FROZEN: 'FROZEN'
}

new Vue({
  router,
  store,
  i18n,
  render: h => h(App)
}).$mount('#app')
